Only show the mnemonic underline when pressing Alt
authorMatthias Clasen <mclasen@redhat.com>
Sun, 20 Dec 2009 08:04:52 +0000 (03:04 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 20 Dec 2009 08:11:05 +0000 (03:11 -0500)
commitc59f76fda2560273d7ee3255db9b697a7077ac38
tree49c8796ebfd5eea5a25edf4d52cd6190722e87b9
parentaf268d5b072b062fbc0325fe31e441e38700a21c
Only show the mnemonic underline when pressing Alt

...and show them in menus when navigating the menu with the keyboard.
This is similar to what other platforms do, and reduces visual clutter.
There is a setting to control this. Most of the work on this patch was
done by Thomas Wood. See bug 588554.
gtk/gtklabel.c
gtk/gtklabel.h
gtk/gtkmain.c
gtk/gtkmenu.c
gtk/gtkmenubar.c
gtk/gtkmenuitem.c
gtk/gtkmenushell.c
gtk/gtkmenushell.h
gtk/gtksettings.c
gtk/gtkwindow.c
gtk/gtkwindow.h